
  <el-row :gutter="20">
      <!-- 大楼 -->
      <el-col :span="6">
        <el-table :data="imgList"
                  height="900"
                  border
                  ref="singleTable"
                  highlight-current-row
                  @current-change="handleCurrentChange"
                  style="width: 100%">
          <el-table-column type="index"width="50"></el-table-column>
          <el-table-column prop="text" label="建筑楼名称"></el-table-column>
        </el-table>
      </el-col>

      <!-- 楼层 -->
      <el-col :span="18">
<!--            <h1 class="buildingName">{{buildingName}}</h1>-->
          <el-table  size="small" class="buildingTable" height="801" :data="dataSource" border style="width: 100%">
            <el-table-column width="100" prop="locationFloor" label="楼层"></el-table-column>
            <el-table-column prop="number"  width="170" label="资产ID"></el-table-column>
            <el-table-column prop="name" width="150" label="资产名称" sortable></el-table-column>
            <el-table-column width="300" label="规格型号" sortable>
              <template slot-scope="scope">
                <el-tooltip :content="scope.row.model"  effect="light">
                  <span> {{scope.row.model}}</span>
                </el-tooltip>
              </template>
            </el-table-column>
            <el-table-column width="110" prop="code" label="分类编码" sortable></el-table-column>
            <el-table-column width="150" prop="typeName" label="分类名称" sortable></el-table-column>
            <el-table-column width="270" prop="companyName" label="领用公司"></el-table-column>
            <el-table-column prop="usefulLife" width="120" label="使用期限" sortable></el-table-column>
            <el-table-column label="使用状态">
              <template slot-scope="scope">
                {{ ['正常','损坏'][scope.row.useState-1] }}
              </template>
            </el-table-column>
            <el-table-column  width="120" fixed="right" label="操作">
                <template slot-scope="scope">
                    <el-button @click="handleDetail(scope.row)" type="text">查看</el-button>
                </template>
            </el-table-column>
          </el-table>
          <pagination :total="ipagination.total" :page.sync="ipagination.current" :limit.sync="ipagination.pageSize"
                @pagination="loadData"></pagination>
          <asset-view-modal ref="modalForm"></asset-view-modal>
      </el-col>
  </el-row>


